package com.sumainfor.wx.system.feign.EpcFeign;

import com.sumainfor.common.util.JsonResult;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * 功能描述:
 *
 * @Auther: meng
 * @Date: 2019/1/18 16:02
 * @Description:
 */
public interface EpcFeign {

    /**
     * 查询新房待验收列表
     **/
    @GetMapping("/housekeeper/HoDecoratePi/getHoDecoratePiList")
    JsonResult getHoDecoratePiList(@RequestParam Map<String, Object> params);

    /**
     * 获取设备分类列表
     **/
    @GetMapping("/article/getArticleTypeList")
    JsonResult getArticleTypeList(@RequestParam Map<String,Object> params);

    /**
     * 获取设备列表
     **/
    @GetMapping("/article/getArticleList")
    JsonResult getArticleList(@RequestParam Map<String,Object> params);

    /**
     * 获取设备问题列表
     **/
    @GetMapping("/article/getArticleTroubleList")
    JsonResult getArticleTroubleList(@RequestParam Map<String,Object> params);

    /**
     * 服务管家发起维修申请
     **/
    @PostMapping("/repair/AddRepair")
    JsonResult AddRepair(@RequestBody Map<String,Object> params);

    /**
     * 运营部服务管家根据房源配置主表编号查询房源配置变更
     **/
    @GetMapping("/housekeeper/HoHousingPlan/getHoHpList")
    JsonResult getHoHpList(@RequestParam Map<String,Object>params);

    /**
     * 查询某个房源的配置详表OR网络和电视
     **/
    @GetMapping("/housekeeper/HoDecorateHpb/getHoHpiIfWiFiList")
    JsonResult getHoHpiIfWiFiList(@RequestParam Map<String, Object> params);

    /**
     *查询某个房源的土建验房项
     */
    @GetMapping("/housekeeper/HoDecorateHpb/getHoDecorateHpbList")
    JsonResult getHoDecorateHpbList(@RequestParam Map<String, Object> params);

    /**
     * 服务管家新房验收列表待验收、已驳回、待上传图片
     **/
    @GetMapping("/housekeeper/HoDecoratePi/getHoDecorateCount")
    JsonResult getHoDecorateCount(@RequestParam Map<String, Object> params);

    /**
     * 提交验房结果
     */
    @PostMapping("/housekeeper/HoDecorateHpb/updateHoHpiHpb")
    JsonResult updateHoHpiHpb(@RequestBody Map<String, Object> params);

    /**
     *服务管家查询房间的物品清单
     */
    @GetMapping("/housekeeper/HoHousingAlter/getHoHousingAlterRentList")
    JsonResult getHoHousingAlterRentList(@RequestParam Map<String,Object>params);

    /**
     *服务管家查询整租房间的公共区域的物品清单
     */
    @GetMapping("/housekeeper/HoHousingAlter/getHoHousingAlterRentComList")
    JsonResult getHoHousingAlterRentComList(@RequestParam Map<String,Object>params);

//    /**
//     *市场部签合同的时候查询房间智能电表的设备编号
//     */
//    @PostMapping("/housekeeper/HoHousingPlan/getHoRdInteHpiList")
//    JsonResult getHoRdInteHpiList(@RequestBody Map<String,Object>params);

    /**
     *退租的时候查询房源的房间智能电表信息列表
     */
    @PostMapping("/housekeeper/HoHousingPlan/getHoRdInteDeviceList")
    JsonResult getHoRdInteDeviceList(@RequestBody Map<String,Object>params);

    /**
     *智能设备充值 查询租客所租的房子智能设备余额的和
     */
    @PostMapping("/housekeeper/HoDecorateHpb/getRdCensusHouConInfo")
    JsonResult getRdCensusHouConInfo(@RequestBody Map<String, Object> params);

}
